export default class returnModel<T> {
  private _success: boolean;

  public get success() {
    return this._success;
  }

  public set success(success: boolean) {
    this._success = success;
  }

  private _msg: string;

  public get msg() {
    return this._msg;
  }

  public set msg(msg: string) {
    this._msg = msg;
  }

  private _data: T;

  public get data() {
    return this._data;
  }

  public set data(data: T) {
    this._data = data;
  }
}